<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8"/>
  <title>login</title>
</head>
<body>
<a th:href="@{${baidu}(redirect_url=${redirect_url})}">百度登录</a>
<form th:action="@{login(redirect_url=${redirect_url})}" method="post">
  <table>
    <tr>
      <td>用户名</td>
      <td><input name="username" value="admin"/></td>
    </tr>
    <tr>
      <td>密码</td>
      <td><input name="password" value="admin"/></td>
    </tr>
    <tr>
      <td colspan="2"><input type="submit" value="登录"/></td>
    </tr>
  </table>
</form>
</body>
</html>